package cn.mycc.service;

import cn.mycc.domain.Employee;
import cn.mycc.qo.PageResult;
import cn.mycc.qo.QueryObject;

import java.util.List;

public interface IEmployeeService {
    void save (Employee employee);
    void delete(long id);
    void update (Employee employee);
    Employee get (long id);
    List<Employee> getAll ();

//    分页查询
    PageResult<Employee> query(QueryObject qo);
}
